$(document).ready(function(){
		var url = ($(location).attr('href'));
		var name = url.split('/');
		var documentName = name[name.length-1];
		$( 'a[href="' + documentName + '"]' ).addClass( 'nav-selected' );
});